﻿@if(Request.IsAuthenticated) {  
   <span><i>欢迎</i>,@{           
    Wicresoft.UnifyShow.BusinessImpl.User_X user_x = new Wicresoft.UnifyShow.BusinessImpl.User_X();
    Wicresoft.UnifyShow.Business.User_XModel user_XModel = user_x.GetUser_XByName(Request.RequestContext.HttpContext.User.Identity.Name);                    
                    @user_XModel.DisplayName;            
                } &nbsp;&nbsp;<a class="LogOut" href="@Url.Action("LogOff", "Account")">[注销]</a> </span>
}
else
{
   <span><a class=LogOut href="@Url.Action("LogOn", "Account")">[登录]</a></span>
}